package io.gitee.xyuesheng.day06.exam;

import java.util.Date;

public class Message {
    private Integer id;
    //创建时间，精确到年月日、时分秒
    private Date created;

    public Message(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }
}
